<!DOCTYPE html>
<html lang="en">

    <head>
        <meta charset="UTF-8" />
        <link rel="stylesheet" href="styles/style.css">
        <link rel="stylesheet" href="styles/theme/atom-one-dark.css">
        <title>例子47-ES6/7常用语法介绍</title>
    </head>

    <body>
        <pre>
            <code>
                // 例子47

                class A {
                }

                class B extends A {
                }

                B.__proto__ === A // true
                B.prototype.__proto__ === A.prototype // true
            </code>
        </pre>
        <script src="scripts/libs/highlight.pack.js"></script>
        <script src="scripts/47.js"></script>
        <script>
            hljs.initHighlightingOnLoad();
        </script>
    </body>

</html>